<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2d 圆周环绕动画</title>
</head>
<style>
*{
    margin: 0;
    padding: 0;
}
.container{
    width: 100px;
    height: 100px;
    background-color: purple;
    opacity: 0.8;
    margin: 100px auto;
    position: relative;
}
.container::after{
    content: "";
    border-radius: 50%;
    width: 100px;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 0;
    bottom: calc( 50% - 1px);
}
.container::before{
    content: "";
    border-radius: 50%;
    width: 2px;
    height: 100px;
    background-color: black;
    position: absolute;
    left: calc(50% - 1px);
}
.point{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.7;
    background-color: #0066CC;
    position: absolute;
    left:calc(50% - 20px / 2);
    transition: transform 1s;
    transform-origin: 50% calc(100px / 2);
}
.container:hover .point{
    transform: rotate(1turn);
}

</style>
<body>
    <div class="container">
        <div class="point"></div>
    </div>
</body>
</html>